package com.leyou.order.enums;

/**
 * lcd  2020/6/16
 * Description:
 */
public enum OrderStatusEnum {

    UN_PAY(1, "未付款"),
    PAYED(2, "已付款,未发货"),
    UN_CONFIRM(3, "已发货,未确认"),
    SUCCESS(4, "已确认,未评价"),
    CLOSED(5, "交易失败,已关闭"),
    RATED(6, "已评价"),
    ;
    private int code;
    private String desc;

    OrderStatusEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int value() {
        return code;
    }
}
